<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>青鸟影院管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/layui.css" media="all">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/common.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo"><span>青鸟影院管理系统</span></div>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="updateAdmin.html" >
                     <img src="${pageContext.request.contextPath}/img/default.png" class="layui-nav-img layui-anim layui-anim-rotate"/>
                     <span id="user_name"></span>
                </a>
            </li>
            <li class="layui-nav-item"><a href="adminNo">退出</a></li>
        </ul>
    </div>
        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <ul class="layui-nav layui-nav-tree" lay-filter="test" id="leftside">
                    <script id="side" type="text/html">
                        {{#  layui.each(d.list, function(index, item){ }}
                        <li class="layui-nav-item">
                            <a href="{{item.url}}"><i class="layui-icon {{item.icon}}"></i> {{item.name}}</a>
                        </li>
                        {{#  }); }}
                        {{#  if(d.list.length === 0){ }}
                        无数据
                        {{#  } }}
                    </script>
                </ul>
            </div>
        </div>
        <div class="layui-body">
            <!-- 主体区域开始 -->
            
            <!--当前位置开始-->
            <div class="layui-card layadmin-header">
                <span class="layui-breadcrumb">
                    <a>系统</a>
                    <a>影片仓库</a>
                    <a><cite>添加影片</cite></a>
                </span>
            </div>
            <!--当前位置结束-->
            <div class="layui-row">
                <div class="layui-tab" id="system">
                    <form class="layui-form" action="MovieAllUpdate" method="post" id="system_form"  enctype="multipart/form-data">
                        <div class="layui-form-item">
                            <label class="layui-form-label">影片名字</label>
                            <div class="layui-input-block">
                                <input type="text" name="movieName" required  lay-verify="required" placeholder="请输入电影名字" autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">主演</label>
                            <div class="layui-input-block">
                                <input type="text" name="movieProtagonist" required  lay-verify="required" placeholder="请输入主演名字" autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">导演</label>
                            <div class="layui-input-block">
                                <input type="text" name="movieDirector" required  lay-verify="required" placeholder="请输入导演名字" autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">上映时间</label>
                            <div class="layui-inline"> <!-- 注意：这一层元素并不是必须的 -->
                                <input type="date" name="movieRelease" class="layui-input" id="test1" placeholder="yyyy/MM/dd" lay-key="1">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">图片</label>
                            <button type="button" class="layui-btn layui-btn-warm" id="test1">
                                <i class="layui-icon">&#xe67c;</i>上传图片
                                <input type="file" name="img" accept="image/*" style="opacity: 0;margin-left:-100px;width: 100px;">
                            </button>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">影片状态</label>
                            <div class="layui-inline"> <!-- 注意：这一层元素并不是必须的 -->
                                <input name="movieTemp" type="radio" value="0" />正在上映
                                <input name="movieTemp" type="radio" value="1" />即将上映
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">描述</label>
                            <div class="layui-input-block">
                                <textarea name="movieDescribe" placeholder="添加描述" class="layui-textarea"></textarea>
                            </div>
                        </div>
                        <br>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="submit" class="layui-btn" lay-submit lay-filter="formDemo">提交</button>
                                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <!--主体区域结束-->
        </div>
       <div class="layui-footer" style="text-align:center">
        <!-- 底部固定区域 -->
        © 版权管理
    </div>
    </div>
    <script src="${pageContext.request.contextPath}/js/layui.js" charset="utf-8"></script>
    <script src="${pageContext.request.contextPath}/js/jquery-3.3.1.js"></script>
    <script src="${pageContext.request.contextPath}/js/common.js"></script>
    <script src="${pageContext.request.contextPath}/js/jquery.cookie.js"></script>
</body>
</html>
